package leetcode.D100.T42;

import util.ListUtil;

/**
 * @File Info: leetcode -- <H42>
 * @Author: 18362
 * @Create: 2022-03-11 20:30:48 星期五
 */
public class H42 {
    public static void main(String[] args) {
        int[] height = ListUtil.parseIntArray("[0,1,0,2,1,0,1,3,2,1,2,1]");
        System.out.println(new Solution().trap(height));
    }
}
